<template>
  <div>
    儿子 从父组件那里拿到的钱 --》 「{{money}}」

    <grandson :money='money' @notice='notice'></grandson>
  </div>
</template>

<script>
import grandson from './grandson.vue'

export default {
  name: 'child',
  props: {
    money: Number
  },
  components: {
    grandson
  },
  methods: {
    notice(value) {
      console.log('我是子组件的 notice', value)
    }
  }
}
</script>
